#ifndef TOLISTCONTENT_H
#define TOLISTCONTENT_H
#include <QDate>
#include <QList>
#include <QLabel>
#include <QPlainTextEdit>
#include <QHBoxLayout>

//enum ChangeCommand{ADD, MODIFY, DELETE};
struct ToDoListRecord
{
    int index;          //the index per record
    QString content;
};

struct ToDoListOfDay
{
    QDate date;         //the todolist of a specific day
    QList <ToDoListRecord> toDoListRecord;
};
struct ChangedRecord
{
  // ChangeCommand command;
   ToDoListOfDay newToDoListOfDay;
};
struct ToDoListForm
{
    QLabel *indexLabel;
    QPlainTextEdit *Recordcontent;
    QHBoxLayout * FormLayout;
};
struct ToDoListPackage
{
    QList <ToDoListOfDay> toDoListContent ;

};

#endif // TOLISTCONTENT_H
